<template>
  <view class="area-search">
    <CommonHeader>附近地点</CommonHeader>
    <view class="search-bar">
      <input type="text" placeholder="输入关键字搜索附近地点" @input="searchArea($event.mp.detail.value)"/>
    </view>
    <view class="area-list">
      <view class="area-item" v-for="(item, index) in searchList" :key="index" @click="getNowArea(item)">
        {{ item }}
      </view>
    </view>
  </view>
</template>
<script src="./script.js"></script>
<style src="./style.less" lang="less"></style>
